package com.enjoyor.soa.traffic.rest.tsms.dubbo;

import com.enjoyor.soa.traffic.api.dto.tsms.TaskExecuteRecordDto;
import com.enjoyor.soa.traffic.util.pojo.Page;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

public interface ITaskExecuteRecordConsumeService {

	/**
	 * 根据编号查询任务执行信息
	 * @param recordId 记录编号（不为空）
	 * @return
	 */
	public ResultPojo getExecuteTaskRecordById(String recordId);

	public ResultPojo getExecuteTaskRecordList(String recordId, String executeTaskId, String taskId, String recordTypeId,
			String isWarn, String beginTime, String endTime);
	
	@SuppressWarnings("rawtypes")
	public ResultPojo getExecuteTaskRecordPage(Page page, String recordId, String executeTaskId, String taskId, 
			String recordTypeId, String isWarn, String beginTime, String endTime);
	
    public ResultPojo insertRecord(TaskExecuteRecordDto taskExecuteRecordDto, String personName);
}
